package com.csust.automaticteach.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.csust.automaticteach.model.dto.promptself.PromptSelfQueryRequest;
import com.csust.automaticteach.model.entity.PromptSelf;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csust.automaticteach.model.vo.promptself.PromptSelfVO;

import java.util.List;

/**
* @author 钰玟
* @description 针对表【t_prompt_self(提示词表)】的数据库操作Service
* @createDate 2025-07-10 20:29:20
*/
public interface PromptSelfService extends IService<PromptSelf> {

    /**
     * 获取用户端的查询条件
     * @param promptSelfQueryRequest 查询参数
     * @return
     */
    QueryWrapper<PromptSelf> getPromptSelfVOQueryWrapper(PromptSelfQueryRequest promptSelfQueryRequest);
    /**
     * 获取所有提示词
     * @param promptSelfQueryRequest 查询参数
     * @return 提示词列表
     */
    QueryWrapper<PromptSelf> getPromptSelfQueryWrapper(PromptSelfQueryRequest promptSelfQueryRequest);
    /**
     * 转化为提示词的vo对象
     * @param promptSelf 实体对象
     * @return 提示词的vo对象
     */
    PromptSelfVO getPromptSelfVO(PromptSelf promptSelf);
    /**
     * 获取所有提示词vo列表
     * @param records 实体提示词列表
     * @return 提示词vo列表
     */
    List<PromptSelfVO> getPromptSelfVOList(List<PromptSelf> records);
}
